package com.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.dto.CouponAddDTO;
import com.common.domain.dto.CouponIssueFormDTO;
import com.common.domain.dto.CouponListByConditionDTO;
import com.common.domain.dto.CouponUpdateDTO;
import com.common.domain.po.Coupon;
import com.common.domain.vo.CouponLIstByConditionVO;

/**
 * @author 路亚
 * @version 0.1
 * @className CouponService
 * @description
 * @date 2024/12/21 15:04
 * @since jdk11
 */
public interface CouponService extends IService<Coupon> {

    void add(CouponAddDTO couponAddDTO);

    void updateCouponById(CouponUpdateDTO couponUpdateDTO);

    CouponLIstByConditionVO listByCondition(CouponListByConditionDTO couponListByConditionDTO, Integer page);

    void issueCoupon(CouponIssueFormDTO couponIssueFormDTO);
}
